#ifndef ACCESSLOG_H
#define ACCESSLOG_H

#include "autoload.h"

// class is singleton
class AccessLog {
public:
    static void init(QString fileName);
    static void append(QString message /*, some other data */);
    ~AccessLog();

protected:
    AccessLog();

private:
    static AccessLog* instance;
    QString fileName;
};

#endif // ACCESSLOG_H
